import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /paymentProduct/{id}
 */
export function getPaymentProductById(params: GetPaymentProductByIdParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/paymentProduct/${params.id}`, config);
}

export interface GetPaymentProductByIdParams {
    id: number;
}
